<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/oa/resignation.js?time=' + sys_get_time();
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
			var page = sys_fill_parm('queryResignationForm');
			queryResignation_resignation(page);
		}
	});
		$('#queryResignationForm').find("input:checkbox, input:radio").not('input.ibtn').uniform();
});
</script>
<#import "/freemarker/modeltype.ftl" as mt>
<form id="queryResignationForm">
<table class="search_term_table">
	<tr><th style="width:80px;">离职原因</th>
		<td><input class="form-control" type="text" name="reason" style="width:150px;"/></td>
		<th style="width:80px;">离职人员</th>
		<td><input class="form-control" type="text" name="un" style="width:100px;"/></td>
		<td style="text-align:right;">
		<button class="btn btn-info" onclick="javascript:queryResignation_resignation(); return false;"><i class="icon-search"></i> 查 询 </button>
		<button class="btn btn-success" onclick="javascript:sys_load_handle('resignation-edit'); return false;"><i class="icon-file"></i> 新建离职</button>
		</td>
	</tr>
	<tr><th style="width: 80px;">离职时间</th>
		<td>
			<input id="start" type="text" style="width:80px;" name="start" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});">
			至  
			<input id="end" type="text" style="width:80px;" name="end" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'});">
		</td>
		<th style="width: 80px;">是否屏蔽</th>
		<td><@mt.YesOrNo r=true name='deleted' d=false mc=true /></td>
	</tr>
</table>
</form>
<div id="resignationList"></div>
